import type { FormInstance, FormRules } from 'element-plus'

export interface El {
  loginFormRef: FormInstance | null,
  usernameRef: HTMLInputElement | null,
  passwordRef: HTMLInputElement | null,
}

export interface Data {
  loginForm: {
    username: string,
    password: string
  },
  loginRules: FormRules,
  loading: Boolean,
  passwordType: string,
  redirect: string
}